FLT_ROUNDS
From cppreference.com
| Defined in header <cfloat>
|
||
| #define FLT_ROUNDS /* implementation defined */
|
(since C++11) | |
Specifies the rounding direction of floating-point arithmetic operations. Equal to std::float_round_style
| Value | Explanation |
-1
|
the default rounding direction is not known |
0
|
toward zero |
1
|
to nearest |
2
|
towards positive infinity |
3
|
towards negative infinity |
| other values | implementation-defined behavior |